#pragma once
#ifndef ENTITY2D_H
#define ENTITY2D_H
//----------------------------------------------------------------
#include "Structs.h"
#include "Defines.h"
#include "Renderer.h"
class ENGINE_API Entity2D
{
public:
	Entity2D(void);
	~Entity2D(void);
	
	void setPos (float X, float Y, float Z = 1.0f);
	float getPosX () ;
	float getPosY ();
	float getPosZ ();

	virtual void setDim (float fW, float fH);
	float getDimW () const;
	float getDimH () const;

	void setRotation (float Rotation);
	float getRotation () ;

	void setName (std::string kName);
	std::string getName ();
	virtual void draw (Renderer * renderer);
	virtual void Update(float dtime);

	

private :
	float m_X,m_Y,m_Z;
	float m_rotation;
	std::string name;
	float H;
	float W;
};
#include "Entity2D.inl"
#endif